package com.zzt.dao;

import com.zzt.entity.Gwc;
import com.zzt.entity.GwcExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GwcMapper {
    long countByExample(GwcExample example);

    int deleteByExample(GwcExample example);

    int deleteByPrimaryKey(Integer gwcid);

    int insert(Gwc record);

    int insertSelective(Gwc record);

    List<Gwc> selectByExample(GwcExample example);

    Gwc selectByPrimaryKey(Integer gwcid);

    //自建1
    Gwc selectByMnoAndGno(Integer mno,Integer gno);

    //2自建2
    List<Gwc> selectAllByMno(@Param("mno") Integer mno);

    int updateByExampleSelective(@Param("record") Gwc record, @Param("example") GwcExample example);

    int updateByExample(@Param("record") Gwc record, @Param("example") GwcExample example);

    int updateByPrimaryKeySelective(Gwc record);

    int updateByPrimaryKey(Gwc record);


}